<?php
class LinkIndexAction extends AdminAction
{
	public function __construct()
	{
		parent::__construct();
		$this->layout = 'default';
	}
	
	public function execute()
	{
		$linkService = new BaseDbService('link');
		
		$this->data['links']  = $linkService->rows(array(), 'orderby DESC,id ASC');
		
		$this->data['menu'] = 'link';
	}
}
